package com.th.supcom.pds.internal.api;

import java.util.List;

import com.th.supcom.pds.domain.vo.PdsPrescDetailAndPrescVo;
import com.th.supcom.pds.domain.vo.PrescAndPatiResult;

/**
 * @author yzhang
 */
public interface DrugReturnService
{
    /**
     * 通过处方号查询处方以及处方明细记录，用于门诊退药
     * 
     * @param pdsPrescDetailAndPrescVo
     * @return
     */
    public PrescAndPatiResult getPrescDetailForReturn (List <String> prescNoList, String performedBy);

    /**
     * 门诊退药通过
     * 
     * @param prescList
     * @param prescDetailList
     */
    public void drugReturnPass (List <PdsPrescDetailAndPrescVo> prescList, List <PdsPrescDetailAndPrescVo> prescDetailList, String operator);

    /**
     * 门诊退药被拒绝
     * 
     * @param prescList
     * @param prescDetailList
     */
    public void drugReturnRefuse (List <PdsPrescDetailAndPrescVo> prescList, List <PdsPrescDetailAndPrescVo> prescDetailList, String operator);

}
